package com.zimmur.service.impl.zone;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zimmur.dao.zone.ITopicNoticeDao;
import com.zimmur.model.zone.TopicNotice;
import com.zimmur.service.zone.ITopicNoticeService;

@Service("topicNoticeService")
public class TopicNoticeServiceImpl implements ITopicNoticeService{
	@Resource
	private ITopicNoticeDao topicNoticeDao;


	@Override
	public TopicNotice selectByNoticeIdTopicNotice(long noticeId) {
		return topicNoticeDao.selectByNoticeIdTopicNotice(noticeId);
	}



	@Override
	public List<TopicNotice> selectTopicNoticeListLimit(Integer limit) {
		return topicNoticeDao.selectTopicNoticeListLimit(limit);
	}
}
